#刘雅轩
class Person:
    city = '北京'
    def __init__(self,name,age,hobby,App):
        self.name = name
        self.age = age
        self.hobby = hobby
        self.App = App
    @staticmethod
    def printMenu():
        print('----------个人信息-----------')
    def printInfo(self):
        print('居住城市',Person.city)
        print('姓名', self.name)
        print('年龄', self.age)
        print('爱好', self.hobby)
        print('常用的App', self.App)
person01 = Person('凌蓝',30,'打羽毛球','淘宝')
person01.printMenu()
person01.printInfo()
Person.city = '上海'
person02 = Person('唐果',25, '跑步', '淘宝')
person02.printMenu()
person02.printInfo()

